﻿tik_width = typeof tik_width == 'string' ? tik_width : '800px';
//tik_height = typeof tik_height == 'string' ? tik_height : '29px';
//tik_border = typeof tik_border == 'number' ? tik_border : 3;
//tik_text_color = typeof tik_text_color=='string'?tik_text_color:'#FFF';
//tik_text_hover_color = typeof tik_text_hover_color=='string'?tik_text_hover_color:'#FFF';
//tik_bg_color = typeof tik_bg_color=='string'?tik_bg_color:'#E67817';
//tik_bg_hover_color = typeof tik_bg_hover_color=='string'?tik_bg_hover_color:'#E67817';
//tik_serviceURL = typeof tik_serviceURL=='string'?tik_serviceURL:'http://megadoc.vn/Upload.aspx';
var str = '';
str += '<script type="text/javascript" src="http://tik-id.googlecode.com/svn/trunk/jquery-last.js"></script>';
str += '<script type="text/javascript" src="http://tik-id.googlecode.com/svn/trunk/widget/js/widget_menu.js"></script>';
str += '<link href="http://tik-id.googlecode.com/svn/trunk/widget/css/widget.css" rel="stylesheet" type="text/css" media="all"  />';
//str += '<style rel="stylesheet" type="text/css" media="all">';
//str +='ul.megawg_top_menu li a{color:'+tik_text_color+';}';
//str +='.wg_sub_nav{background-color:'+tik_bg_color+';}';
//str+='ul.megawg_top_menu li:hover,ul.wg_sub_nav li:hover{background-color:'+tik_bg_hover_color+';}';
//str+='ul.megawg_top_menu li a:hover{color:'+tik_text_hover_color+';}';
//str += '</style>';
str += '<div id="tik_widget">';
str += '<div class="navbar">';
str += '<div class="fl padd">';
//str += '<div id="bdw" class="bdw" style="width: ' + tik_width + ';height:' + tik_height + ';border:solid ' + tik_border + 'px #006699;background-color:' + tik_bg_color + '"></div>';
str += '<div id="tik_bdw" style="width: ' + tik_width + ';"  class="bdw"></div>';
str += '</div>';
str += '</div>';
str += '</div>';
document.write(str);
function wg_getItem(items) {
    document.getElementById("tik_bdw").innerHTML = items;
}
//function wg_showOther()
//{
//    if(document.getElementById("wg_sub_nav").style.display=='none')
//        document.getElementById("wg_sub_nav").style.display='block';
//    else
//        document.getElementById("wg_sub_nav").style.display='none';
//    return false;
//}